#! /bin/bash

SD=$1
PARTITION_MODE=$2
VIRTUAL_MACHINE="None"
HD_NTFS_SIZE="0"

source $(dirname $(dirname $(realpath $0)))/config/echo_config || exit 1
source $CONFIG_DIR/env_config || exit 1

if ! $SCRIPT_DIR/umount.sh $SD $PARTITION_MODE $HD_NTFS_SIZE; then
    echo_err "umount"
    exit 1
fi

source $SCRIPT_DIR/$SUBDIR/mount || exit 1

exit 0
